package com.spel.validate;

import lombok.Data;

import java.util.List;

/**
 * @title: AssertAspectCondition
 * @Author xu-xiang
 * @Date: 2024/1/30 14:10
 * @description: 条件切面包装类
 */
@Data
public class AssertAspectCondition {

    /**
     * spEL表达式集合
     */
    private List<String> expressionList;

    /**
     * EL表达式依赖的bean
     */
    private Class<?> beanClass;

    /**
     * 断言失败抛出类
     */
    private AssertExceptionCondition ifError;

}
